Plumber Fun

Troubleshooting API End Points

-API, Plumber, Workflow
Author

Kevn Gilds, MPA

Published

2024-05-18

Introduction

I received an interesting data request and noted this would make a useful endpoint on the API.

The first victory was first addressing and completing the request before finding a way to automate the process.

The second victory was getting the end point to work after testing the function.

However, when I tried to test out the endpoint again it stopped working. i was receiving a 404 error non response. This did not make sense as the other endpoints were working fine.

Troubleshooting Steps

  1. Restart R

  2. Restart computer

  3. Compare other functions in the plumber function.

I started to suspect the issue was in my filter function. I am still not clear on the reason but Chat GPT game some suggestions on my code. Straight up it started working after I took the suggestions.

Chat GPT

Here is the link to the chat


About

Kevin is a nonprofit data professional operating out of Lakeland, Florida.
My expertise is helping nonprofits collect, manage and analyze their program data.