solace failed to provision endpoint- While trying to add queue from C# application

hi,
I am new to solace, was trying to create the queue with sample C# code given solace site- Persistence with Queues .
however, i am getting error while executing the code- “solace failed to provision endpoint”
I am just wondering what kind of error is this

Hey @Amol_D - I am not a C# developer - however have you checked out the samples over here
solace-samples-dotnet/QueueProducer.cs at master · SolaceSamples/solace-samples-dotnet
Getting Started Samples for the Solace .NET API. Contribute to SolaceSamples/solace-samples-dotnet development by creating an account on GitHub. You might find this useful. Hopefully this helps!

Hi @Amol_D ,
in addition to @Tamimi 's answer:
On what kind of broker and with what client-username did you try that ?

Just guessing here: Maybe your config (your client-profile) is lacking the permission to API-Create queues.
If you have access to broker event.log, have a look for errors there.

Uli

@Tamimi @uherbst Thanks for the kind assistance, it was clients profile issue. It didn’t have the write/create permission.