Kanagaraj Subramaniam Thanks for sharing the code snippet. It appears that you have defined model class ApimSubscriptionRequest
in your application and performing some JSON serialization/processing using GetContent(SerializeToJson(apimSubscriptionRequest)))
functions before calling Rest API. I would suggest you capture Http request, payload info either while debugging or using tools like Fiddler and investigate the issue. If you still help, please share request info/payload (removing critical/sensitive info) and correlation ID.
Alternatively, you can quickly test it via portal, Rest API directly and see whether you are able to reproduce the issue. If you observe the issue only with the application code (not Rest API - Try it/portal), then submit a ticket to our support team and they have the best resources/tools to investigate the backend logs for the cause.
I hope this helps your question and feel free to add a comment for any other questions.