Fórum
Erro 500 na API de Application
about 1 year ago by Sergio Fiorotti
Quando faço essa requisição pela doc de vocês ela dá certo, porém quando envio essa mesma requisição pela aplicação recebo os erros abaixo:
curl --request POST
--url https://api.gupy.io/api/v1/jobs/5901921/applications
--header 'accept: application/json'
--header 'authorization: Bearer XXXXXXX'
--header 'content-type: application/json'
--data '
{
"manualCandidate": {
"insertionSource": "market_referral_consulting",
"name": "teste",
"lastName": "teste",
"email": "[email protected]"
}
}
'
Seguem o payload que tenho recebido de volta:
{"title":"Internal Server Error","status":500}
E depois de algumas tentativas recebo esse retorno:
\n\nERROR: The request could not be satisfied\n\n504 ERROR
\nThe request could not be satisfied.
\n\nCloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.\nWe can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.\n
\nIf you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.\n
\n
\n
\nGenerated by cloudfront (CloudFront)\nRequest ID: ZUi_SW60ZX-ebiI38BJpwVEb6pZP99BrlDF56t--cb0dhnfFxt2UeA==\n\n\n\n