Automattic / Automattic/jetpack

JSON API: cannot publish from API when using a secondary Jetpack user

Open
#4,445 3 comments 0 reactions 1 assignee Claimed by @ebinnion View on GitHub
[Feature] WPCOM API [Pri] Low Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Steps to reproduce the issue
1. Start from a Jetpack site with 2 admin users, both connected to WordPress.com. We'll use the secondary account, not marked as primary under Jetpack > My Jetpack.
2. Go to https://stackedit.io/editor#
3. Write a new post.
4. Click on # > Publish > WordPress
5. Enter your site URL, and click OK.
6. Select your site in the WordPress.com site list.
7. You'll be redirected to your site, where you will receive the following error:

![screen shot 2016-07-19 at 12 35 52 pm](https://cloud.githubusercontent.com/assets/426388/16947128/7b22a0c0-4dad-11e6-926b-efd93e54b449.png)

I could reproduce with both 4.1.1 and 4.2. Publishing from Calypso works, though.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.