I set up CI build with Bitbucket, follow set up OAuth here. And now I have access key to access to API.

But when I add access token and set up provider with Bitbucket and sync it, I got the 500 error

I trace the log, look like It show me something like that:



I think the problem come from here, but I am not sure:

Hope everyone can help me about that, I can not sync to get my repositories