Store API does not give not enough/poor exception details, How do you expect developer to resolve issue ?

Jignesh Desai 101 Reputation points
2021-02-27T09:40:54.357+00:00

Hi,

I am getting below error returned from store api, while calling Store Update/Commit API. From the message i can guess that "Description" field of some language page have null value, but which language page? I have 100+ languages and I took pain to check all my code and did all the debugging to find if any language description field has null value, but i find none.

@dp Store API Team, if you are listening to this thread, please tell us how do we resolve such an error. There is no language id in the error message that could give me any slightest hit on the exact source of error. Very poor exception details.

What can be done. Please Advise.

Regards

  1. System.Exception: {"code":"InvalidParameterValue","data":[],"details":[],"message":"Description must not be null","source":"Ingestion Api","target":"description"}
    at SP.Services.IngestionClient.InvokeT
    at CallSite.Target(Closure , CallSite , Object )
    at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid1T0
    at SP.Classes.StoreApps.UpdateStoreAppDetails(String pAppId, Object pNewClonedSubmission)
    at CallSite.Target(Closure , CallSite , Object )
    at System.Dynamic.UpdateDelegates.UpdateAndExecute1T0,TRet
    at SP.ViewModels.ConnectionViewModel.UpdateStore(Object pNewClonedSubmission)
    at CallSite.Target(Closure , CallSite , Object )
    at System.Dynamic.UpdateDelegates.UpdateAndExecute1T0,TRet
    at SP.Views.MainPage.btnBeginUpdate_Click(Object sender, RoutedEventArgs e)
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,136 questions
{count} vote