Jump to content

UM 3 API - Empty source_user

Recommended Posts

Posted · UM 3 API - Empty source_user

Hi everyone,


I am facing an issue with the Ultimaker api. I'd like to know if there is something I can do on my side to solve this.

Basically, when a print job is sent, you can easily get the associated username in Cura (who sent the job).


Based on the api docs, all you have to do to get that same info using the API is to call the endpoint http://.../api/v1/print_job/source_user.

Unfortunately, this doesn't seem to work. All I get is an empty string and the same scenario occurs when calling the complete "print_job" endpoint. Everything is in the returned json object except for the source_user (marked " "):


{ "datetime_cleaned": "", "datetime_finished": "", "datetime_started": "1970-02-06T00:16:26", "name": "UM3E_XXXXXXX", "progress": 0.3079226833256708, "reprint_original_uuid": "", "result": "", "source": "WEB_API", "source_application": "Cura connect", "source_user": "", "state": "printing", "time_elapsed": 6220, "time_total": 20202, "uuid": "XXXXXX...XXXXXX" }


When I look at the current job in Cura, I can see the username just fine.


Any ideas on how I can make this work?



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 96 replies
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!