Mercari

FREEMIUM
Por yy10112001 | Atualizado לפני 4 ימים | eCommerce
Popularidade

8.6 / 10

Latência

942ms

Nível de serviço

100%

Health Check

100%

Voltar para todas as discussões

Seeing 400 error now

Rapid account: Nrodriguez
nrodriguez
לפני 3 שנים
Was working fine earlier today but now I'm seeing 400 errors with the data
{
  status: 400,
  statusText: 'Bad Request',
  headers: {
    'content-type': 'application/json; charset=utf-8',
    date: 'Mon, 09 Aug 2021 05:04:25 GMT',
    server: 'RapidAPI-1.2.8',
    'x-rapidapi-region': 'AWS - us-east-1',
    'x-rapidapi-version': '1.2.8',
    'x-ratelimit-requests-limit': '1000',
    'x-ratelimit-requests-remaining': '966',
    'x-ratelimit-requests-reset': '10361',
    'content-length': '76',
    connection: 'Close'
  },
  config: {
    url: 'https://mercari.p.rapidapi.com/Mercari/Search',
    method: 'get',
    headers: {
      Accept: 'application/json, text/plain, */*',
      'x-rapidapi-key': 'KEY-REMOVED',
      'x-rapidapi-host': 'mercari.p.rapidapi.com',
      'User-Agent': 'axios/0.21.1'
    },
    params: { page: '1', query: 'thanos funko soda' },
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    adapter: [Function: httpAdapter],
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    validateStatus: [Function: validateStatus],
    data: undefined
  },
  request: <ref *1> ClientRequest {
    _events: [Object: null prototype] {
      abort: [Function (anonymous)],
      aborted: [Function (anonymous)],
      connect: [Function (anonymous)],
      error: [Function (anonymous)],
      socket: [Function (anonymous)],
      timeout: [Function (anonymous)],
      prefinish: [Function: requestOnPrefinish]
    },
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [],
    outputSize: 0,
    writable: true,
    destroyed: false,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: false,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    _contentLength: 0,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    socket: TLSSocket {
      _tlsOptions: [Object],
      _secureEstablished: true,
      _securePending: false,
      _newSessionPending: false,
      _controlReleased: true,
      secureConnecting: false,
      _SNICallback: null,
      servername: 'mercari.p.rapidapi.com',
      alpnProtocol: false,
      authorized: true,
      authorizationError: null,
      encrypted: true,
      _events: [Object: null prototype],
      _eventsCount: 10,
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: 'mercari.p.rapidapi.com',
      _readableState: [ReadableState],
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: undefined,
      _server: null,
      ssl: [TLSWrap],
      _requestCert: true,
      _rejectUnauthorized: true,
      parser: null,
      _httpMessage: [Circular *1],
      [Symbol(res)]: [TLSWrap],
      [Symbol(verified)]: true,
      [Symbol(pendingSession)]: null,
      [Symbol(async_id_symbol)]: 5876,
      [Symbol(kHandle)]: [TLSWrap],
      [Symbol(kSetNoDelay)]: false,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesRead)]: 0,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(connect-options)]: [Object],
      [Symbol(RequestTimeout)]: undefined
    },
    _header: 'GET /Mercari/Search?page=1&query=thanos+funko+soda HTTP/1.1\r\n' +
      'Accept: application/json, text/plain, */*\r\n' +
      'x-rapidapi-key: KEY-REMOVED\r\n' +
      'x-rapidapi-host: mercari.p.rapidapi.com\r\n' +
      'User-Agent: axios/0.21.1\r\n' +
      'Host: mercari.p.rapidapi.com\r\n' +
      'Connection: close\r\n' +
      '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: noopPendingOutput],
    agent: Agent {
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      defaultPort: 443,
      protocol: 'https:',
      options: [Object],
      requests: {},
      sockets: [Object],
      freeSockets: {},
      keepAliveMsecs: 1000,
      keepAlive: false,
      maxSockets: Infinity,
      maxFreeSockets: 256,
      scheduling: 'lifo',
      maxTotalSockets: Infinity,
      totalSocketCount: 2,
      maxCachedSessions: 100,
      _sessionCache: [Object],
      [Symbol(kCapture)]: false
    },
    socketPath: undefined,
    method: 'GET',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    path: '/Mercari/Search?page=1&query=thanos+funko+soda',
    _ended: true,
    res: IncomingMessage {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      socket: [TLSSocket],
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      headers: [Object],
      rawHeaders: [Array],
      trailers: {},
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 400,
      statusMessage: 'Bad Request',
      client: [TLSSocket],
      _consuming: false,
      _dumped: false,
      req: [Circular *1],
      responseUrl: 'https://mercari.p.rapidapi.com/Mercari/Search?page=1&query=thanos+funko+soda',
      redirects: [],
      [Symbol(kCapture)]: false,
      [Symbol(RequestTimeout)]: undefined
    },
    aborted: false,
    timeoutCb: null,
    upgradeOrConnect: false,
    parser: null,
    maxHeadersCount: null,
    reusedSocket: false,
    host: 'mercari.p.rapidapi.com',
    protocol: 'https:',
    _redirectable: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 0,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [Circular *1],
      _currentUrl: 'https://mercari.p.rapidapi.com/Mercari/Search?page=1&query=thanos+funko+soda',
      [Symbol(kCapture)]: false
    },
    [Symbol(kCapture)]: false,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype] {
      accept: [Array],
      'x-rapidapi-key': [Array],
      'x-rapidapi-host': [Array],
      'user-agent': [Array],
      host: [Array]
    }
  },
  data: {
    error: 'http: request method or response status code does not allow body'
  }
}

Any ideas?

Rapid account: Nrodriguez
nrodriguez Commented לפני 3 שנים

Awesome, appreciate it

Rapid account: Yy 10112001
yy10112001 Commented לפני 3 שנים

bug fixed. Thanks again

Rapid account: Yy 10112001
yy10112001 Commented לפני 3 שנים

thanks for the report. I will check out right now

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários