Azure / Commercial-Marketplace-SaaS-Accelerator

A reference example with sample code for developers interested publishing transactable, Software as a-Service offers in the Microsoft commercial marketplace.
MIT License
200 stars 294 forks source link

Error 500 : An error occurred while saving the entity changes. See the inner exception for details #739

Open antoine-dhersin opened 3 months ago

antoine-dhersin commented 3 months ago

Describe the bug When we try to subscribe to an offer, we receive the following error: "Error 500 : An error occurred while saving the entity changes. See the inner exception for details". We user the URL & the token received but unable to finalize the subscription.

To Reproduce Steps to reproduce the behavior: Try to subscribe to : https://appsource.microsoft.com/en-us/product/web-apps/openlaketechnology1695221806668.ms_adoption_monitor?tab=Overview

Expected behavior Being able to subscribe after purchase.

Screenshots If applicable, add screenshots to help explain your problem. Capture d’écran 2024-07-28 234643

Environment (please complete the following information): Latest code update, deployed with cloud shell

Additional context Add any other context about the problem here.

antoine-dhersin commented 3 months ago

Hi, anyone who can help? I've updated the app to the latest version, removed any special characters in the offer... Other offers are ok for the subscription, I just have an issue with one offer...

santhoshb-msft commented 3 months ago

Hi @antoine-dhersin I believe this could be still due to the length or special chars, Is there any way you can do a local debug and see what the issue is?

antoine-dhersin commented 3 months ago

Could you please tell me how to activate the local debug?

santhoshb-msft commented 3 months ago

Hi @antoine-dhersin - can you see if this can help - https://partner.microsoft.com/en-us/training/assets/detail/setting-up-a-development-environment-for-the-saas-accelerator-mp4

antoine-dhersin commented 3 months ago

Hi,

I'm not sure it may help. My customer was able to subscribe to 4 offers without any issue, but one offer is not working.

Is there a way to set a debug on the app to trace what's happening?

Thanks, Antoine.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: SANTHOSH B @.> Sent: Tuesday, July 30, 2024 11:47:46 PM To: Azure/Commercial-Marketplace-SaaS-Accelerator @.> Cc: Antoine DHERSIN @.>; Mention @.> Subject: Re: [Azure/Commercial-Marketplace-SaaS-Accelerator] Error 500 : An error occurred while saving the entity changes. See the inner exception for details (Issue #739)

Hi @antoine-dhersinhttps://github.com/antoine-dhersin - can you see if this can help - https://partner.microsoft.com/en-us/training/assets/detail/setting-up-a-development-environment-for-the-saas-accelerator-mp4

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/Commercial-Marketplace-SaaS-Accelerator/issues/739#issuecomment-2259267339, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDGKKU7BU3SMOZMLYMF74HLZPACYFAVCNFSM6AAAAABLTEKYGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJZGI3DOMZTHE. You are receiving this because you were mentioned.Message ID: @.***>

santhoshb-msft commented 3 months ago

Please follow the video and if this is impacting customer, I recommend creating a ticket on partner center.

antoine-dhersin commented 3 months ago

I just went through the video and can't find any option to enable the logging or something else... Is there a way to read the logs inside the app? If yes, what's the path?

santhoshb-msft commented 3 months ago

@antoine-dhersin please keep us posted on how the preview purchase went

antoine-dhersin commented 3 months ago

Hi,

Not working, we even try to publish the offer... The end customer is still having a 500 error....

Thanks, Antoine.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: SANTHOSH B @.> Sent: Thursday, August 1, 2024 10:34:49 PM To: Azure/Commercial-Marketplace-SaaS-Accelerator @.> Cc: Antoine DHERSIN @.>; Mention @.> Subject: Re: [Azure/Commercial-Marketplace-SaaS-Accelerator] Error 500 : An error occurred while saving the entity changes. See the inner exception for details (Issue #739)

@antoine-dhersinhttps://github.com/antoine-dhersin please keep us posted on how the preview purchase went

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/Commercial-Marketplace-SaaS-Accelerator/issues/739#issuecomment-2263934481, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDGKKUYJ5EAG5NNA37OTGCTZPKLWTAVCNFSM6AAAAABLTEKYGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRTHEZTINBYGE. You are receiving this because you were mentioned.Message ID: @.***>

santhoshb-msft commented 3 months ago

where you able to do a preview test?

antoine-dhersin commented 3 months ago

Yes, it was not working but we went to live offer anyway to try...

Can we review the offer again? (I cross checked offer name and specific characters...)

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: SANTHOSH B @.> Sent: Friday, August 2, 2024 12:39:28 AM To: Azure/Commercial-Marketplace-SaaS-Accelerator @.> Cc: Antoine DHERSIN @.>; Mention @.> Subject: Re: [Azure/Commercial-Marketplace-SaaS-Accelerator] Error 500 : An error occurred while saving the entity changes. See the inner exception for details (Issue #739)

where you able to do a preview test?

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/Commercial-Marketplace-SaaS-Accelerator/issues/739#issuecomment-2264137032, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDGKKU56O5CGPHQYIHJPOUTZPK2KBAVCNFSM6AAAAABLTEKYGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRUGEZTOMBTGI. You are receiving this because you were mentioned.Message ID: @.***>