Skip to content

Instantly share code, notes, and snippets.

@MarceloPrado
Created June 13, 2019 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarceloPrado/dde9d3f8876240c3982f87777071f909 to your computer and use it in GitHub Desktop.
Save MarceloPrado/dde9d3f8876240c3982f87777071f909 to your computer and use it in GitHub Desktop.
Error at PagarMe request { Error: failed [500] {"errors":[{"type":"action_forbidden","parameter_name":null,"message":"Um erro interno aconteceu."}],"url":"/transactions/98301253/refund","method":"post"}
at Object.exports.makeErrorByStatus (packages/http.js:176:10)
at Request._callback (packages/http.js:140:24)
at Request.self.callback (/var/app/current/programs/server/npm/node_modules/meteor/http/node_modules/request/request.js:185:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
at Request.<anonymous> (/var/app/current/programs/server/npm/node_modules/meteor/http/node_modules/request/request.js:1161:10)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at IncomingMessage.<anonymous> (/var/app/current/programs/server/npm/node_modules/meteor/http/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)
response:
{ statusCode: 500,
content: '{"errors":[{"type":"action_forbidden","parameter_name":null,"message":"Um erro interno aconteceu."}],"url":"/transactions/98301253/refund","method":"post"}',
headers:
{ date: 'Thu, 13 Jun 2019 15:05:12 GMT',
'content-type': 'application/json; charset=utf-8',
'content-length': '155',
connection: 'close',
server: 'openresty',
'access-control-allow-credentials': 'true',
'access-control-allow-headers': 'Content-Type, Authorization, X-Requested-With, X-HTTP-Method-Override',
'access-control-allow-methods': 'GET,PUT,POST,DELETE',
'access-control-allow-origin': '*',
charset: 'utf-8',
etag: 'W/"9b-wZP9jMP/qW4c/SLdJRmDijFBxjk"',
vary: 'X-HTTP-Method-Override',
'x-response-time': '8718.259ms' },
data:
{ errors: [Array],
url: '/transactions/98301253/refund',
method: 'post' } } }
@20001225cxl
Copy link

hello

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment