UpsertCustomerCustomAttribute having an error

Hello,

I’m encountering an issue while trying to create/update a customer custom attribute using UpsertCustomerCustomAttribute. It seems there’s a conflict, but the error message doesn’t provide a specific reason.

For context, I’m using a custom attribute to manage the booking status, which is defined as an enum. However, the error appears unrelated to the booking status data type itself.

Could someone clarify what’s causing this conflict? The error message is unclear.

Thanks in advance!

{
“errors”: [
{
“code”: “CONFLICT”,
“detail”: “Attempting to save a record with key=bookingstatus, parent_resource_id=52665KH1VKDZ43DWN91FEQXDWM resulted in a conflict.”,
“category”: “INVALID_REQUEST_ERROR”
}
]
}

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Manage Custom Attribute Definitions for Bookings
Manage Customer Custom Attributes
Custom Attributes Overview

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

What’s your application ID? :slightly_smiling_face:

Sorry for the late reply but this is my app id: sq0idp-c5fvnrzO-Ri-ZOi-_qV5BQ

Good morning. I hope you are doing well. Just want to bump this one. Thank you