Fields[user] bad request

hello. i try make this request, but responce 400 bad request.
https://www.patreon.com/api/oauth2/v2/identity?include=campaign&fields[user]=about

if i make request without “fields[user]”, then i receive correct response. What am I doing wrong?

You are using a v2 client with that v2 endpoint?

Yes.

I also don’t get “state” value when the user denied.

Ok here’s what I just found out,

Had the same issue as you are having and make sure you’re client encodes the []
I just played with the API via Postman and Postman does not encode the special characters apparently

So try sending https://www.patreon.com/api/oauth2/v2/identity?include=campaign&fields%5Buser%5D=about

1 Like

Yes, if the brackets are not urlencoded in request, it could cause this error.