PHP Api Can't Authenticate on Schemas

Hi!
I’m working on an integration and when I try to create a custom object schema, I’m having an Exception…

---

Exception - [401] Client error: `POST https://api.hubapi.com/crm/v3/schemas\` resulted in a `401 Unauthorized` response: {“status”:“error”,“message”:"Authentication credentials not found. This API supports both API Key and OAuth 2.0 authenti (truncated…)

---

Keys are correct because I still can create clients.

I’ve created a private app to do this and I have the version 8.4.1 installed
Can someone help me please?

Hey, @MAgnese4 :waving_hand: Is this issue persisting? I am happy to dig a bit more for us if so.

Best,

Jaycee

Hi Jaycee!
Yes. I’ve solved it using cURL in php with same credentials.
Thanks for asking!