Skip to content

fix: correct ability slug for job status endpoint#133

Merged
chubes4 merged 1 commit intomainfrom
fix/job-status-ability-slug
Apr 27, 2026
Merged

fix: correct ability slug for job status endpoint#133
chubes4 merged 1 commit intomainfrom
fix/job-status-ability-slug

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented Apr 27, 2026

Summary

  • The GET /datamachine/v1/socials/jobs/{job_id} handler was calling wp_get_ability('datamachine/jobs-get') but the registered ability slug is datamachine/get-jobs
  • Every call to this endpoint returned HTTP 500 with "Job lookup ability not available"
  • One-line fix in RestApi.php

Deploy note

Deploy alongside extrachill-studio PR — the Studio async polling depends on this endpoint working.

The get_job_status handler was calling wp_get_ability('datamachine/jobs-get')
but the registered ability slug is 'datamachine/get-jobs'. This caused every
call to GET /datamachine/v1/socials/jobs/{id} to return 500 with 'Job lookup
ability not available'.
@chubes4 chubes4 merged commit a50035a into main Apr 27, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant