Skip to main content

Carthage create a cartfile

Ha you have read it before, one of those throw away lines that is written "just create a cartfile".  So your thinking carthage update, carthage init, create a plain text document, etc... all wrong.  How do you know... when you run carthage update, you receive the following error

Get this error: "No such file in directory"

So how do you "just" create a Cartfile?

Building an app

After coding for 16 years... I have decided to have a go at building apps in iOS.  Eventually these articles will tell my story as a newbie to app development.

My initial plan is to learn completely differently to how I would normally.  I usually, read a bunch of books about the subject and jump straight in with coding.  This time I will force myself to slow down.  Watch a couple of videos and follow there steps.  Hmm, I will require patience for this!

entity/field errors

When you are in the status report of the admin area are you finding the following issue:

POST image Guzzle error

While I have posted an article about how to POST an image using REST in Drupal 8... the journey there can be slow.  Crawling through the errors to eventually spot the missing link.  For me the how to is as important as the solution.

On the journey I did receive the following 404 Not Found error:

POST image using RESTUI

Adding an image via RESTUI can be done in a snap... once you know how!  I have spent a good amount of time (days) researching how come my scripts weren't running correctly.

POST:

authentication: basic,

formats: hal_json

Assigning the wrong user against a new comment using REST

You have been working hard on getting comments being added (POST) through REST in Drupal 8.  However, now you are seeing the following Assigning the wrong user against a new comment - and most likely the new comment is being assigned to the site admin.  

The error here is related to the _embedded uuid.

401 Forbidden - Access denied on creating field 'uid'

The magically descriptive error 401 Forbidden "message": "Access denied on creating field 'uid'.".  You probably can sense the love I have for this error.  This was a painful error that took a little while to resolve.  First off I also had this error display as:

415 Unsupported Media Type - REST POST comments

If you are like me you probably have searched for clues to and found little... particularly when confronted by the errors as you unravel how this works.  Okay a slight exaggeration, there are snipets of info that people have solved this annoying issue in  making comments work in Drupal 8 REST services.

Subscribe to