Skip to content

Unable To Publish With New Envelope Community #838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
chuang-CE opened this issue Jun 10, 2025 · 1 comment
Closed

Unable To Publish With New Envelope Community #838

chuang-CE opened this issue Jun 10, 2025 · 1 comment
Assignees
Labels

Comments

@chuang-CE
Copy link
Collaborator

docker-compose run app bundle exec rake app:generate_auth_token ADMIN_NAME=Admin2 PUBLISHER_NAME=Publisher2 [email protected]
docker-compose run app bundle exec rake app:create_envelope_community -- --name cfm --default no --secured no --secured-search yes

After running the commands above in my terminal and saving the new API key that was generated, I used the API key to post a config to the new envelope community as well as a new organization. Both endpoints executed without errors:
POST /metadata/{community_name}/config
POST /metadata/organizations

Using the newly created organization's CTID, I tried using the POST /{community_name}/resources/organizations/{organization_id}/documents] endpoint to publish a resource but got a 405 method not allowed as a response.

@chuang-CE
Copy link
Collaborator Author

405 error occurred due to wrong endpoint. This user error can be stopped if we have that endpoint in Swagger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants