Skip to content

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

@ylecuyer

Description

@ylecuyer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions