When a new user first attempts to access the Blaze campaigns list, the initial call encounters a 400 error accompanied by the following error message: {"errorMessage":"No local user for WPCOM user {id}","errorCode":"no_local_user","cookies":[],"exists":0}.
This occurs because the DSP server requires synchronization of the WPCOM user and its insertion into the database.
To resolve this issue, is to invoke the DSP endpoint /sites/%s/wordads/dsp/api/v1/user/check to initiate the user creation process. Subsequently, retry the operation for the Blaze campaign search endpoint.
See conversation: p1697620395920789-slack-C04LJFS1G5P
When a new user first attempts to access the Blaze campaigns list, the initial call encounters a 400 error accompanied by the following error message: {"errorMessage":"No local user for WPCOM user {id}","errorCode":"no_local_user","cookies":[],"exists":0}.
This occurs because the DSP server requires synchronization of the WPCOM user and its insertion into the database.
To resolve this issue, is to invoke the DSP endpoint
/sites/%s/wordads/dsp/api/v1/user/check
to initiate the user creation process. Subsequently, retry the operation for the Blaze campaign search endpoint.See conversation: p1697620395920789-slack-C04LJFS1G5P
iOS https://github.com/wordpress-mobile/WordPress-iOS/issues/21817