Skip to content

Blaze Search Campaigns - Invoke DSP user create flow #19407

Description

@zwarm

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 wordpress-mobile/WordPress-iOS#21817

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions