create property endpoints doesn't work

I have been trying to test property endpoints and they work for every get endpoint. but when I try post, delete, or patch endpoints for properties they give

HTTP 400

{
“status”: “error”,
“message”: “Property failed validation.”,
“correlationId”: “94821d77-c4a5-4d8e-827b-42e35d69ed64”,
“category”: “VALIDATION_ERROR”,
“subCategory”: “Properties.PROPERTY_CREATE_FAILED_VALIDATION”
}
I can’t create a property from the dashboard either saying I don’t have permission. How to test post, delete and patch endpoints without error ?

Hi @mandodevelopapp,

If you are getting permission errors for properties, you might be missing the “Edit property settings” permission in “Account > Settings access”

evaldas_0-1735569574394.png

I’m using a test account. I can’t find Edit property settings option in the given path.

Try going to “Settings” and under the “Account Management”, there will be “Users & Teams”:

Then “Edit permissions” and look for “Account > Settings access” to find the permissions for property settings

@mandodevelopapp - have you checked the scopes on the API key you are using? You would need both read and write scopes to manipulate the property values (although to be honest I might have expected a differet error response in this case). In addition - and it’s not clear here - you may be tripping over a validation rule for the specific property you are attempting to change. For example, if the property definition validates for numbers between a certain range, and you are trying to write a number outside that range. If it’s an enumeration property, you will need to set of the allowed internal values for the property.

Good luck!

Steve

yes I created 3 different test accounts with different scopes to be sure. problem is I can’t create a property in my test account even in the dashboard. Only normal account has access for that but normal account can’t create an app to test APIs.