CenterForOpenScience / osf.io

Facilitating Open Science
https://osf.io
Apache License 2.0
672 stars 330 forks source link

Cannot create registration drafts #10089

Closed kimsin98 closed 2 years ago

kimsin98 commented 2 years ago

Create draft button runs into errors and does nothing.

Uncaught (in promise) 
Object { isAdapterError: true, stack: "r@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:13291:19\nr@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:13294:100\nhandleResponse@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:13350:17\nhandleResponse@https://osf.io/ember_osf_web/assets/ember-osf-web-a7dd1662981526c91f8837506ab8447c.js:76:128\nv@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:13386:14\najax/</l.error/a<@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:13365:8\najax/</l.error@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:13365:19\nl@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:1402:118\nfireWith@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:1403:698\nE@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:1685:468\nsend/r/<@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:1696:206\nd@https://cdn.ravenjs.com/3.22.1/ember/raven.min.js:2:4846\nEventHandlerNonNull*D@https://cdn.ravenjs.com/3.22.1/ember/raven.min.js:2:23088\na@https://cdn.ravenjs.com/3.22.1/ember/raven.min.js:2:10792\n[4]</</D/</<@https://cdn.ravenjs.com/3.22.1/ember/raven.min.js:2:11334\nsend@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:1697:7\najax@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:1673:12\n_ajaxRequest@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:13366:127\n_ajax@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:13368:235\najax/<@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:13366:29\nz/<@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:5118:6\nz@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:5118:73\najax@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:13360:8\ncreateRecord@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:13335:13\nlt/s<@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:14163:132\nv@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:5100:12\ny/<@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:5107:15\ninvokeWithOnError@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:4665:206\nflush@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:4657:74\nflush@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:4668:292\n_end@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:4719:9\nend@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:4681:218\n_run@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:4721:70\n_join@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:4720:234\njoin@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:4692:13\nd@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:3513:23\nne/</<@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:1914:75\na@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:3440:139\nne/<@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:1914:30\nte</t<@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:1909:66\nhandleClick@https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js:15296:57\nd@https://cdn.ravenjs.com/3.22.1/ember/raven.min.js:2:4846\n", description: undefined, fileName: "https://osf.io/ember_osf_web/assets/vendor-2da822ea19ba933a0f367bd727735780.js", lineNumber: 13291, message: "Ember Data Request POST https://api.osf.io/v2/draft_registrations/ returned a 403\nPayload (application/vnd.api+json; charset=utf-8)\n[object Object]", name: "Error", number: undefined, errors: (1) […] }
2 ember-osf-web-a7dd1662981526c91f8837506ab8447c.js:9952:11
    createDraft Ember
    AsyncFunctionThrow self-hosted:672
    (Async: async)
    createDraft self-hosted:1151
    Ember 8
    doSubmit self-hosted:1151
    Ember 9
    handleClick self-hosted:1151
    d Ember

Browser: Mozilla/5.0 (X11; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0

Johnetordoff commented 2 years ago

@kimsin98 We released a fix for this issue and it should resolved, feel free to reopen this issue if you can reproduce the bug.