Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

You're trying to access fields (repo.full_name and repo.links.commits.href) that don't exist in the

Roshan Bhagat November 30, 2025

I'm getting "Repository full name: undefined" displayed on my app, and when I look at the browser console, I see errors saying it cannot read properties of undefined. The issue is that when I call the fetchRepository resolver to get repository data from the Bitbucket API, the response doesn't have the fields I'm trying to access. Specifically, I'm trying to display repo.full_name, but that field doesn't exist in the response, so it shows as undefined. Even worse, when my code tries to access repo.links.commits.href to fetch the commits, it crashes because either the links object doesn't exist or the commits property isn't there. I'm not sure what field names the Bitbucket API is actually returning, so I don't know what to use instead of full_name or links.commits. This mismatch between what I'm expecting from the API and what it's actually sending is causing my app to break and display nothing useful to the user.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events