Skip to content

[API merging] Creating a publication fails in RRM express setup #13620

Closed

Description

@nfmohit

Bug Description

The request to create a publication in RRM express setup fails with a 500 error. This is because the request uses * as the wildcard notation for organization following the API design doc, but it should use a hyphen (-) following Google AIP standards.

Steps to reproduce

  1. Ensure Request the new RRM scopes for the express setup #13004 is merged.
  2. Turn on the rrmExpressSetup feature flag.
  3. Set up Site Kit.
  4. Go to the RRM express setup in yoursite.com/wp-admin/admin.php?page=googlesitekit-dashboard&slug=reader-revenue-manager&reAuth=true&expressSetup=true&cta=newsletter-signup&step=connect-publication. Choose to create a new publication if you have existing publications.
  5. Fill out the form and submit.
  6. Observe the error encountered.

Screenshots

Image

Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  • Creating a publication in the Reader Revenue Manager express setup flow no longer fails due to the reason mentioned in the issue description.

Implementation Brief

  • In includes/Modules/Reader_Revenue_Manager/Datapoints/Create_Publication.php:
    • Replace the * symbol used for the organization wildcard notation within organizations_publications->create() with a hyphen (-).

Test Coverage

  • Update any failing tests.

QA Brief

  1. Turn on the rrmExpressSetup feature flag.
  2. Set up Site Kit.
  3. In the traffic section, click on the "Set up a sign-up form" CTA in the "Collect reader emails directly on your site" notification.
  4. Choose to create a new publication if you have existing publications.
  5. Fill out the form and submit.
  6. Verify that your publication is created successfully without errors and that you are sent to the next step.

Changelog entry

  • Fix creating a publication in the Reader Revenue Manager express setup flow.

Activity

  1. added
    Type: BugSomething isn't working
    P0High priority
    Team MIssues for Squad 2
    Module: RRMReader Revenue Manager module related issues
    on Sep 18, 2026
  2. self-assigned this
    on Sep 18, 2026
  3. changed the title [-]Creating a publication fails in RRM express setup[/-] [+][API merging] Creating a publication fails in RRM express setup[/+] on Sep 18, 2026
  4. removed their assignment
    on Sep 18, 2026
  5. self-assigned this
    on Sep 18, 2026
  6. hussain-t commented on Sep 21, 2026

    @hussain-t
    Collaborator

    Thanks, @nfmohit!

    IB ✅

  7. removed their assignment
    on Sep 21, 2026
  8. self-assigned this
    on Sep 21, 2026
  9. added a commit that references this issue on Sep 27, 2026
  10. removed their assignment
    on Sep 27, 2026
  11. self-assigned this
    on Sep 28, 2026
  12. added a commit that references this issue on Sep 28, 2026
  13. removed their assignment
    on Sep 28, 2026
  14. self-assigned this
    on Sep 28, 2026
  15. mohitwp commented on Sep 29, 2026

    @mohitwp
    Collaborator

    QA Update ✅

    • Tested on dev environment.
    • Verified RRM Express Setup publication creation flow with rrmExpressSetup feature flag enabled.

    Validated:

    • Accessed Express Setup through the "Set up a sign-up form" CTA from the traffic section.
    • Verified create new publication flow when existing publications are available.
    • Completed the publication creation form and submitted successfully.
    • Confirmed publication creation completes without API/500 errors.
    • Verified user proceeds to the next step after successful publication creation.

    The issue scenario where publication creation failed during RRM Express Setup is no longer reproducible.

    Details
    Recording.3462.mp4
  16. removed their assignment
    on Sep 29, 2026
  17. mohitwp commented on Sep 30, 2026

    @mohitwp
    Collaborator

    QA Update ⚠️

    @hussain-t

    Currently, I’m unable to complete the create publication flow due to the API error encountered. I’ll verify this ticket again once the API issue is resolved.

    Image
  18. tofumatt commented on Oct 5, 2026

    @tofumatt
    Collaborator

    Due to some API issues this will actually be kept in QA and will target the next release.

  19. mohitwp commented on Oct 11, 2026

    @mohitwp
    Collaborator

    QA Update ✅

    • Tested on dev environment using service staging environment.
    • Verified RRM Express Setup publication creation flow with rrmExpressSetup feature flag enabled.

    Validated:

    • Accessed Express Setup through the "Set up a sign-up form" CTA from the traffic section.
    • Verified create new publication flow when existing publications are available.
    • Completed the publication creation form and submitted successfully.
    • Confirmed publication creation completes without API/500 errors.
    • Verified user proceeds to the next step after successful publication creation.

    The issue scenario where publication creation failed during RRM Express Setup is no longer reproducible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Module: RRMReader Revenue Manager module related issuesP0High priorityTeam MIssues for Squad 2Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      Sponsor
      SponsoredKunjungi sekarang
      Promo