forcedotcom / code-builder-feedback

This repository is used to collect feedback for the Code Builder beta.
29 stars 2 forks source link

Unfriendly error for incorrect git URL #116

Closed randi274 closed 2 years ago

randi274 commented 2 years ago

Describe the bug Used a URL that wasn't the base of the repo (https://github.com/SalesforceFoundation/NPSP/pulls) and got a weird 403. Would expect code builder to handle this more gracefully, even though it's not expected.

To Reproduce Steps to reproduce the behavior:

  1. Go to import existing project
  2. Paste in: https://github.com/SalesforceFoundation/NPSP/pulls
  3. Get big red error: CodeBuilder.ResourceApiResponseException

Expected behavior Baseline: less ugly error (Sorry, can't help with that) Extra credit: check my work (Did you mean SalesforceFoundation/NPSP ?)

Screenshots Screen Shot 2022-04-05 at 4 24 25 PM

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

randi274 commented 2 years ago

Actually, is this outside the scope of the blitz? I'm seeing no existing project retrieval working, even for the valid URL: https://github.com/SalesforceFoundation/NPSP/