I think we can just do
```javascript
return callback({'code': 500, 'msg': 'Unable to create an ORCID profile');
```

Logging the response code and body as an error would be useful as well