Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fbtrace_id is not passed correctly to Koala::Error #642

Open
ylecuyer opened this issue Jun 26, 2018 · 0 comments
Open

fbtrace_id is not passed correctly to Koala::Error #642

ylecuyer opened this issue Jun 26, 2018 · 0 comments

Comments

@ylecuyer
Copy link
Collaborator

I have noticed that facebook changed the format of the error sent to us.

Previously it was x-fb-trace-id
https://github.com/arsduo/koala/blob/master/lib/koala/errors.rb#L66
And now it is fbtrace_id

Example:

"{"error":{"message":"(#613) Calls to this api have exceeded the rate limit.","type":"OAuthException","code":613,"fbtrace_id":"ALBaekPexkW"}}"

it doesn't have the x-fb-debug and x-fb-rev so I'm not sure if they still exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant